.card1{
    position: relative;
    width: 400px;
    top:300px;
}
body{
     background: url("../img/bg.jpg");
     animation-name:myfirst;
     animation-duration:12s;
     animation-delay:2s;
     animation-iteration-count:infinite;
 }
@keyframes myfirst
{
    0%   {background:url("../img/bg.jpg");}
    50%  {background:url("../img/bg5.jpg");}
    100% {background:url("../img/bg.jpg");}
}
